package com.wecon.springdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan(basePackages = "com.wecon.springdemo.mapper")
//@EnableAspectJAutoProxy(proxyTargetClass = true)
//@EnableCaching
@EnableAsync
public class SpringdemoApplication {
    public static Logger logger = LoggerFactory.getLogger(SpringdemoApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(SpringdemoApplication.class, args);
        logger.info("~~~项目启动啦~~~");
    }

}
